package cn04;

public class catTest {
    public static void main(String[] args) {
        cat c1 = new cat();
        c1.setName("魏钟利");
        c1.setAge(22);
        String name = c1.getName();
        int age = c1.getAge();
        System.out.println(name+age);

        cat c2  = new cat("魏钟利",22);
        String name1 = c2.getName();
        int age1 = c2.getAge();
        System.out.println(name1+age1);
    }
}
